﻿using NHibernate.Validator.Constraints;
using TestBat.IModels.Domain;

namespace TestBat.Models.Domain
{
    public class EssaySolution : ManualGradeSolution, IEssaySolution
    {
        [Length(99999)]
        public virtual string Text
        {
            get;
            set;
        }

        public override bool IsEmtpy
        {
            get
            {
                return Text.Trim() == string.Empty;
            }
        }
    }
}
